All Questions
3 questions
4votes
3answers
830views
Why not use SQL to query an API instead of GraphQL?
nalzok posted an interesting question over a year ago: "Why not use SQL instead of GraphQL?". Respondents seem to suggest three main problems: One should not directly expose one's database ...
43votes
5answers
16kviews
Why not use SQL instead of GraphQL?
Recently I learned about GraphQL which claims to be superior to RESTful. However, I started wondering why don't we simply put SQL statements into an HTTP GET request. For example, in GraphQL I would ...
15votes
4answers
15kviews
Is it better to make database calls or external API calls first in the context of a single Web request?
Say you have a Web app that uses data from both a database and an external API, and for certain pieces of functionality, you need to call in to both in order to read/write the necessary data. Is it ...